﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate.Linq;

namespace GLAD_prototype
{
    public class transaksiBeli
    {
        //public virtual int Id { get; set; }
        public virtual string transID { get; set; }
        public virtual pengguna User { get; set; }
        public virtual DateTime waktuTrans { get; set; }
        public virtual double totalHarga { get; set; }
        public virtual string namaPenerima { get; set; }
        public virtual string almtPenerima { get; set; }
        public virtual string provinsi { get; set; }
        public virtual string kotaKab { get; set; }
        public virtual string kodepos { get; set; }
        public virtual string bankTujuan { get; set; }
        public virtual bool konfirmasi { get; set; }
        public virtual bool statusKirim { get; set; }
    }
    public class album
    {
        //public virtual int Id { get; set; }
        public virtual string albumID { get; set; }
        public virtual string genre { get; set; }
        public virtual string judulAlbum { get; set; }
        public virtual string albumArt { get; set; }
        public virtual string label { get; set; }
        public virtual DateTime tglRilis { get; set; }
        public virtual string tipeKeping { get; set; }
        public virtual double userRating { get; set; }
        public virtual int userCount { get; set; }
        public virtual string descAlbum { get; set; }
    }
    public class detilTransaksi
    {
        public virtual int Id { get; set; }
        public virtual string detilTransaksiID { get; set; }
        public virtual transaksiBeli Trans { get; set; }
        public virtual album Album { get; set; }
        public virtual int jumlahOrder { get; set; }
    }
    public class artist
    {
        //public virtual int Id { get; set; }
        public virtual string artistID { get; set; }
        public virtual string namaArtist { get; set; }
        public virtual string descArtist { get; set; }
    }
    public class lagu
    {
        //public virtual int Id { get; set; }
        public virtual string songID { get; set; }
        public virtual artist Artist { get; set; }
        public virtual album Album { get; set; }
        public virtual string judulLagu { get; set; }
        public virtual TimeSpan durasi { get; set; }
        public virtual string descLagu { get; set; }
    }
    public class pengguna
    {
        //public virtual int Id { get; set; }
        public virtual string userID { get; set; }
        public virtual string username { get; set; }
        public virtual string pass { get; set; }
        public virtual string email { get; set; }
        public virtual string fullName { get; set; }
        public virtual string telp { get; set; }
        public virtual bool status { get; set; }
    }
}
